package org.example.learnspringbean.pojo;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class User {
    Long id;
    String name;
    String pwd;

    public User(Long id, String name, String pwd) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
    }

    @Override
    public String toString(){
        return "User:{id:"+this.id+",name:"+this.name+",pwd:"+this.pwd+"}";
    }
}
